-
Home
-
Jetpack – WP Security, Backup, Speed, & Growth
-
13.4
-
Code
-
Classes
- Tus_Client
Total Complexity |
92 |
Dependencies |
11 |
Dependents |
1 |
Total lines |
793 |
Lines of code |
350 |
Logical lines of code |
177 |
Comment lines |
299 |
Methods |
37 |
Properties |
14 |
Methods 37
Method |
Rating |
Maintainability
|
Complexity
|
Lines of code
|
create_with_upload() |
A |
39 |
14 |
65 |
send_patch_request() |
A |
46 |
8 |
37 |
upload() |
S |
55 |
7 |
19 |
handle_patch_exception() |
S |
58 |
5 |
16 |
file() |
S |
59 |
5 |
13 |
get_offset() |
S |
55 |
4 |
21 |
partial() |
S |
59 |
4 |
14 |
get_data() |
S |
62 |
3 |
11 |
add_metadata() |
S |
67 |
3 |
7 |
is_expired() |
S |
74 |
2 |
4 |
create() |
S |
70 |
2 |
6 |
set_checksum_algorithm() |
S |
69 |
2 |
7 |
get_upload_metadata_header() |
S |
67 |
2 |
7 |
get_url() |
S |
69 |
2 |
7 |
remove_metadata() |
S |
68 |
2 |
7 |
seek() |
S |
67 |
2 |
8 |
set_checksum() |
S |
69 |
2 |
7 |
set_file_name() |
S |
68 |
2 |
7 |
get_cache_attribute() |
S |
74 |
2 |
4 |
get_checksum() |
S |
71 |
2 |
6 |
get_upload_checksum_header() |
S |
78 |
1 |
3 |
do_request() |
S |
67 |
1 |
9 |
do_get_request() |
S |
67 |
1 |
9 |
__construct() |
S |
65 |
1 |
9 |
get_partial_offset() |
S |
82 |
1 |
3 |
is_partial() |
S |
82 |
1 |
3 |
get_checksum_algorithm() |
S |
82 |
1 |
3 |
get_cache() |
S |
82 |
1 |
3 |
get_key() |
S |
82 |
1 |
3 |
get_metadata() |
S |
82 |
1 |
3 |
set_metadata() |
S |
73 |
1 |
5 |
get_file_size() |
S |
82 |
1 |
3 |
get_file_name() |
S |
82 |
1 |
3 |
get_file_path() |
S |
82 |
1 |
3 |
get_uploaded_video_details() |
S |
82 |
1 |
3 |
set_uploaded_video_details() |
S |
78 |
1 |
3 |
do_post_request() |
S |
67 |
1 |
9 |